class Category
  attr_accessor :name, :id_pai, :id
  
  def initialize(id, id_pai, name)
    self.name = name
    self.id = id
    self.id_pai = id_pai
  end
  
  def self.all
   
    ProductInfo.new.get_categories

  end
end
